package com.hddz.comlib.packet;

public interface NFCPacketReceiver {
	/**
	 * 实时数据事件
	 * 
	 * @param packet
	 */
	public abstract void OnReceivedRealTimePacket(RealTimePacket packet);

	/**
	 * 历史包数据事件
	 * 
	 * @param packet
	 */
	public abstract void OnReceivedHistoryPacket(HistoryPacket packet);

	/**
	 * 命令包数据事件
	 * 
	 * @param packet
	 */
	public abstract void OnReceivedCommandPacket(CommandPacket packet);

	/**
	 * MHZ数据事件
	 * 
	 * @param packet
	 */
	public abstract void OnReceivedMHZCommandPacket(MHZCommandPacket packet);

	/**
	 * 收到唤醒报文
	 * 
	 * @param packet
	 */
	public abstract void OnReceivedWeekUpPacket(WeekUpPacket packet);

	/**
	 * 收到唤醒报文
	 */
	public abstract void OnReceivedWeekUpSamplePacket(WeekUpSamplePacket packet);

	/**
	 * 收到消防栓報文
	 */
	public abstract void OnReceivedHistorySamplePacket(HistorySamplePacket packet);

	/**
	 * 原始报文
	 */
	public abstract void OnReceivedBytes(byte[] bytes, int size);
}
